package io.renren.common.utils.sftp;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Ftp 配置信息
 */
@Component
@ConfigurationProperties(prefix = "spring.ftp")
public class SFTPProperties {

    //ftp服务器地址
    private String host;
    //ftp服务器端口
    private int port;
    //ftp服务器用户
    private String username;
    //ftp服务器密码
    private String password;
    //ftp服务器文件路径
    private String basePath;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBasePath() {
        return basePath;
    }

    public void setBasePath(String basePath) {
        this.basePath = basePath;
    }

}
